.category-wrap {
  padding: 20rpx;
  font-size: 24rpx;
  height: 100%;

  .header-wrap {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 9;
    display: flex;
    flex-wrap: wrap;
    background: #fff;

    .categoty-item {
      cursor: pointer;
      padding: 0 20rpx;
      height: 60rpx;
      line-height: 60rpx;
      margin-bottom: 10rpx;

      .text-item {
        padding-bottom: 10rpx;
        // background-color: red;
      }
    }

    .active {
      border-bottom: 4rpx solid #3f86ff;
    }
  }

  .content-wrap {
    position: relative;
    top: 150rpx;
    height: 100vh;

    // background: red;
    .cartoon-warp {
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-start;

      .cartoon-item {
        position: relative;
        margin: 0 30rpx 30rpx 0;
        width: calc(90% / 3);
        min-width: calc(90% / 3);
        max-width: calc(90% / 3);

        &:nth-child(3n) {
          margin-right: 0;
        }
        .vip-icon{
          position: absolute;
          right: 0;
          top: 0;
          background-color: #ffa54f;
          padding: 0 10rpx;
          border-bottom-left-radius: 10rpx;
        }
        .img-item {
          width: 100%;
          border-radius: 10rpx;
        }
      }
    }

    .loading-class {
      text-align: center;
      height: 80rpx;
      line-height: 80rpx;

      .text {
        margin-left: 20rpx;
        color: rgb(152, 152, 152);
      }
    }
  }
}